/*
 * @Author: your name
 * @Date: 2020-09-14 10:53:05
 * @LastEditTime: 2020-12-21 11:16:42
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \inventory-apie:\hjimi\人脸\html\face-recognition\src\main.js
 */
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import store from '@/store'
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'
// import E from './utils/E'
// import directive from './directive/loading'
// Vue.use(directive)
Vue.config.productionTip = false

Vue.use(ElementUI);
// Vue.prototype.$E = E; //在vu原型上(全局)启用事件侦听器

// 页面加载条
NProgress.configure({     
  easing: 'ease',  // 动画方式    
  speed: 800,  // 递增进度条的速度    
  showSpinner: false, // 是否显示加载ico    
  trickleSpeed: 200, // 自动递增间隔    
  minimum: 0.3 // 初始化时的最小百分比
})

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})